package com.example.tianyidemo.Mapper;
import com.example.tianyidemo.pojo.EmailCode;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
//注册（添加用户）
@Mapper
public interface EmailMapper {
    @Insert("insert into user ( userState, userEmail) values ('1',#{email})")
    void enrollEmail(EmailCode email);
}
